﻿namespace ufida.u9.ait.openapi
{
	using System;
	using System.Collections.Generic;
	using System.Text; 
	using UFSoft.UBF.AopFrame;	
	using UFSoft.UBF.Util.Context;
	using UFIDA.U9.CBO.Pub.Controller;
	using ufida.u9.ait.openapi.utils;
    using UFIDA.U9.CBO.SCM.Item;
    using UFIDA.U9.Base;
    using UFIDA.U9.Base.Organization;

    /// <summary>
    /// ItemMasterSendSV partial 
    /// </summary>	
    public partial class ItemMasterSendSV 
	{	
		internal BaseStrategy Select()
		{
			return new ItemMasterSendSVImpementStrategy();	
		}		
	}
	
	#region  implement strategy	
	/// <summary>
	/// Impement Implement
	/// 
	/// </summary>	
	internal partial class ItemMasterSendSVImpementStrategy : BaseStrategy
	{
		public ItemMasterSendSVImpementStrategy() { }

		public override object Do(object obj)
		{						
			ItemMasterSendSV bpObj = (ItemMasterSendSV)obj;

			return CodeUtils.EntitySave<ItemMasterSendDTOData,ItemMaster>(bpObj, bpObj.Data, 
				null, ItemMasterBase.SendItem);
		}		
	}

	#endregion
	
	
}